package com.software.fanfan.common;

import java.util.List;

/**
 * 分页
 *
 * Created by shiyanfei on 2018-01-25.
 */
public class PaginationView<T> {

    /**
     * 分页数据
     **/
    private List<T> dataList;
    /**
     * 总记录数
     **/
    private long totalAccount;

    /**
     * 当前页数
     **/
    private long currentPage;

    /**
     * 总页数
     * */
    private long pages;

    public PaginationView() {

    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }

    public long getTotalAccount() {
        return totalAccount;
    }

    public void setTotalAccount(long totalAccount) {
        this.totalAccount = totalAccount;
    }

    public long getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(long currentPage) {
        this.currentPage = currentPage;
    }

    public long getPages() {
        return pages;
    }

    public void setPages(long pages) {
        this.pages = pages;
    }
}
